﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IPBoss.Order.Entities.Base
{
    public class PageInputModel
    {
        public PageInputModel()
        {

            PageNumber = 1;
            PageSize = 10;
        }

        /// <summary>
        /// 第几页（默认1）
        /// </summary>
        public int PageNumber { get; set; }
        /// <summary>
        /// 每页数据量（默认：10）
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 排序字段，例：正序 RecordCreateTime  倒序：RecordCreateTime DESC
        /// </summary>
        public string OrderByField { get; set; }
        /// <summary>
        /// 自定义查询
        /// </summary>
        public string WhereBySql { get; set; }

        /// <summary>
        /// 查询字段
        /// </summary>
        public string SelectField { get;set;}
        
        /// <summary>
        /// 输出字段.
        /// </summary>
        public string OutField { get; set; }
    }
}
